changed js to reveal
fixed error