Javascript toolKit