just learning some javascript, unimportant