Javascript Utils and handy stuff