build javascripts before build app