build js in APP_HOME/var and only rebuild with a version hash update