Makes tweaks to JS keyups