Lib torn from pwf.php
Project TODO
Npm, bower cfg
Sanity test
Mocking window and navigator

* TODO: Rewrite the header to be less conflicting