moved accommodation js into main js flow