Corrected some ommissions from the refactoring of javascript files