Do I need to add something manually to jDrupal.modules for it to be picked up and then just define a function in the global scope?
so would it be:
jDrupal.modules['something']
and then
2.function something_rest_pre_process(xhr, data) {}
on the global spec?
Is 1 necessary?