Working on new syntax of js