rjs pub api
use amdclean for public api