Some coding style fix

Add some missing semicolons and a fix indent.

My nodeclipse didn't format coding style of core.js correctly and I suspect missing semicolons.
Actually this was not the reason why, but let me commit this...