tomahawk.js: Add missing semicolons and fix indentation