create js framework