button not working
got it basically working
standardized code a bit, add underscore.js