added javascript coolness