Added keyboard and volume API to JS