another attampt to fix javascript on production side