attempting to fix javascript error
js