add semicolon at each line of js code