Minor bug fix and local jQuery