updated src code
Minified script