js variables, reveal function