added the js file to make the create action work
added thin, private pub to javascript and something else that I cannot remember