Merge pull request #200 from ercchy/master

changed spaces to tabs in .js files
login redirect to index