added YahooFinance options, refactored Javascript