Added non global jquery to cwrcWriterInit