fixed javascript load