Trying collapsed javascript