Update amstock.js