Added jquery migrate gem to handle a removed function in jquery