JSHint issues fixed

- missing semicolons added
- changed " into ' as string delimiter
- function complexity reduced in datacreator