Jackie - fix javascript