add intellij project file ignore
fix several javascript errors
Revert "try calling our own trackPage after create"

This reverts commit fb4dcabe5f27e4258f672fdab720a7d364e6d44c.
increase karma timeout. Chrome doesn’t start that quickly on my Mac.
Fix a bunch of the unit tests.