Changes to JavaScript

Follow