Fixing issues with compiled JS concatenating strings