Fix execution order of js