use a jquery click rather than function call, so as to not break VS