Added new option 'appendVariables' for javascipt.

To prevent overwriting of variables between multiple organized js files when included together