fixed javascript url