fixed indentation of JS code