Add annotations for JSDoc

JSDoc doesn't recognize functions curried with our curry
function properly without a `@func` annotation.

Replaced the `@static` tags with it, since `@static` seems
redundant (JSDoc inferred it correctly without the tag) and
I didn't want to increase the number of tags required.