added javascript dropdown and other enhancements