fix js error
Merge pull request #28 from alexesDev/fix_js_error

Fix js error - thx commiter :)