Display object keys
Split out javascript