Light-weight javascript module framework