Core pr 4

Updated coding style.
Updated JavaScript to support more than one browser (mobile/responsive support).