Updated javascript for Firefox