Removing legacy st.addMethod

It is of no point, now that format of .js is changed;
it was there to load old .js files, which is impossible
with globals-decoupled js files anyway now,

Also removed other legacy call which is similarly of no point.