Added keyboard state js.
Merge remote-tracking branch 'origin/master'