fixed feature option in javascript