JS Lightweight framework prototype