And now some real javascript