javascript function "setCount" fix

If src was undefined .js was throwing an error and stopping the script
(on firefox)