Reset phpjs object as req by @brettz9
More jshint fixes
Unify headkeys