include jQuery initial version of the script
Streamline javascript variables, change default format.
revise documentation