Writing custom jquery plugin - times-crosswords.com