fix a bug where we can load js files more than once