Actually fix javascript issue