only adding deployment watcher if the dir exists
setting content type of requests handled by the BRJS servlet based on what the appserver supplies as the correct mime type, also changing the mime type for JS to application/javascript - fixes #307