fix load javascripts