make infotip js its own static file