Sorry, this is my js background ;) Will push refactoring soon