Javascript functions reference manual.