a loosely coupled javascript module framework