updated options.js to APIv1.0.0