Attempt to resolve javascript not working in prod