moved contrast foreground to MAPJS