Fixed: javascript errors refs #15
Merge pull request #15 from mallowlabs/id/15

Fix JavaScript error