fixed grunt build + added switch (facebook/online , facebook/local)