Add Hoisting in js