added variables for script and template items
Updated jQuery 1.8.3 -> 1.9