Are the objects accessible from the console? Are you trying to edit functions?
If they are global functions, you can edit them using:
window.functionName = function () { };
I usually edit global objects using the Command Line:
global.param = 1;