Added doc compiling for SamplePlugin.js