update docs for JavaScript and CSS

Change-Id: I468a22515e1652ef73f61ebdb93d3930b3f74aa0
pass JSHint for tasks

Change-Id: I0b83d4f171174497781af294760ab617edbb16aa