javascript unless context bug corrected with unless_option method