fixed $$hashkey problem

push -f is a wonderful thing...

fixed the problem where $$hashkey was being inserted into database 
added some comments to JS stuff