Java script framework implementation of Java Collection API