Added comments
Build a object bridge between PHP and main.js
Added a bridge between php and javascript.
Removed the php variable brigde script