fixed javascript base