Partial fix to jquery clicks