Add some edge cases

Note the last two new cases are fail now.

There are also some cases which I am not sure which is the "right" solution, pls see the comments.
I'm debating whether we should add semicolons to already valid JavaScript - on one hand it's about making the style consistent; on the other hand it's already valid and working.