move google charts options upper to function parameters
hide content when loading