- Small fix in png-encoder

- Removed unused js-routine