added in node package.json and karma configuration to aid with testing. adjusted menucontroller trigger timings to be more responsive.