adjust js load order