Some nice (or not) helpers for javascript.