simplify javascripts directory