static js resources now functioning properly