added , tiny bit of restructuring and did a bit of caching in checker.js (basically saving $ refs)