Fixed the javascript tag to fit php code