added smash.js