more work on dotjs