Fix javascript error on combined files

This prevent JavaScript error when combined files are not ending with a semi-colon character.