removed typeahead.js from stock_out
added preferences module