added Api docs to featureclick.js