Create user-func.coffee

Added user-func coffee with multiple optimizations