Update user-func.js

replaced user-func.js with one,compiled with coffeescript