Used angular.extend instead of jQuery.extend (didnt expect the angular version to exist), and removed unneccessary code in keypressed  in lizard-nxt dot js