edited javascript for quantity change; precompiled assets