Fix paths in gulpfile and convert sentinal.js to CoffeeScript