fixed problem with watch

watch was not watching JavaScript files