Hopefully fixes javascript