use app.js instead of server.js
check for gruntfile and browserify target before calling these tools
update