split javascripts into two files