Basic utilities for Javascript with google closure