stock module

small fix, removed variable 'sym' because its unused. 
better fix for non-existing symbols
changed prefix in error syntax
Update stock.js
Merge pull request #12 from pklooster/patch-8

stock module