Hyphenate was a mootools function, alas jQuery is a primitive library. Have implemented it in regex
Fixed option parsing (check first if defined)
typeOf is a mootools function, typeof is vanillamanilla