offline scripts cleanup; added a utility script for global namespace pollution detection (caught few offenders in MAPJS)