Update path.class.js

apply opacity property on paths.