use local javascripts if possible for internet-less environment