Fixed common JS bug
Merge pull request #15 from cferdinandi/development

Fixed common JS bug