Added KM.key

When using KM via Ruby and JS this is useful so we can use in the view KM.key.