Setting minimum Chrome version to 29

Furthermore moving map functions into function scope