took away period on line 30 of js file