Downgrades the version of js to support the msie call and removes the debugging script