css scanner added js portion is not working