Fix routing when application is started by Passenger and nit by node
Fix route in api.js
Merge pull request #20 from jgrocha/master

Fix routing when application is started by Passenger and not by node