fixed spacing for js code