Fix the installation routine linking to the wrong jquery libraries (#625)