Fix syntax errors by inserting return characters in appropreate positions

I've found missing some return characters.It causes syntax error when using this plugin.