added ninjapi stop script and changed from beagle.js to client.js in start script