Slight alteration to the JS Calls