Cleanup jquery frontend.