detect javascript from shbang