checkout master to copy scanner js code