Attempts at fixing jQuery