more work on dotjs
fixes for filesize