fixes failing js test and adds a js testing dependency
Merge pull request #18 from MarkDucommun/ajazz_fixing

Corrected ajax to allow users to sign in (was blocking the redirect)