organized js methods.Object literals