fixed bug in js
xMerge branch 'master' of https://github.com/manny/sofisticate