Remove jQuery dependency [fixes #300]