Move Chrome app to js