fixed bug on htmlform5 shim
Cleaned un sherpa.js and added more comments for documentation