Removed unused javascript methods from frontlinesms_core