Modifying usage of javascript.