move javascript/* -> javascript/functions