fixed incorrect js inclusion of base