Removed shamoan. Made constructor of PHPtoJavascript private, to prevent accidents.