Fixed auto indent issues with javascript