Attempt to fix javascript #4