adding npm test script to use local karma, and missing rjs dep