fixed javascript base url