added exports for hammer, cleaned up index.html script inclusion, cleaned up commented out code in postinstall