internalize watch.js to remove it as dependency
added credits to WatchJS developer on internalized code