Added code to chrome app