Javascript micro framework