fixed indentation in js