SPARKL Javascript Library