FIX: typo in submethods js