JavaScript Fix!

Only added spacing for plain JavaScript version!