Add JSHashExtension and JSUtils
Refactoring some code.