set javacript data and javascripts in two distinct directories