[New site integration - Refactor Javascript][Daniel]
Merge pull request #103 from insignia4u/refactor-js

[New site integration - Refactor Javascript][Daniel]