Fixed a problem with javascript warning "mixed spaces and tabs error"

Fixed a problem with javascript warning "mixed spaces and tabs error"