javascript and style updates