added the base of the js framework