It should be possible to improve policies without introducing dependencies to crappy JavaScript frameworks.