Replaced tabs with spaces in js.
Changes line ending style in js.