Rename now() to time() and use var now = time() everywhere