Added "hash" keyword
Rewrote module wrapper and added AMD test