Updated README to use javascript syntax