Refactor for integration
Move to PackerJs