functions in js files should use UPAAS namespace [ci skip]