General update
two new snipptes for requirejs