Reworked the 'feature toggle' feature - now available in javascript.
#330 - initial progress, added some code under a toggle for task.AsJSON and FromJSON