prototypejs related utils and classes