javascript constants are now set using PHPjavascript