Updated to prevent jquery $ clash