Prevent javascript errors due to forgotten semicolons

#### I've done something bad and this corrects it!

##### First of all I have to apologize for my mistake! 

On the last commits there is some javascript code that should end on semicolon but that was missing. The problem is not immediately observed if that portion of code is the last on the chain. In case that is not the last part then the error will occur. 

Please someone from the PLT review this and commit it. @infograf768 @Bakual @phproberto 

Again I’m sorry for this!