Bug fix javascript module
Merge remote-tracking branch 'upstream/develop' into develop