jaggr-web and non-osgi sample - Implementation of review comments

To use ConcurrentMap in a thread-safe way, you need to use the putIfAbsent() method instead of containsKey() to add a key to the map only if it is not already there.