Update Scale_to_DPI.js

Added class imports as per Johannes suggestion on ImageJ users list. I'm not that used to either Github or java, but this seems to fix the problem.