move black scholes outside the document ready function