added index file and added js checker