Make JSLint happier (missing semicolons etc)