Javascript container for writing modules