add @ on functions for knockout