Add gitignore
Fix onInitialize adding onInit param at resize function