Consistently use $( document ).ready( fn ) everywhere

Change-Id: I86a7589ab686b02e3cbc2342fe084969d39aabd9
Do not modify styling for files 'maintained' upstream

Change-Id: I01dff745472f5f43ba9560188e3ad3ebfee45dca