Update stock calculation + fixing double jquery.js