add some comments to js, add missing semicolon to swipeHandler.js