checking in js files