pull css changes from js file and place inline html