Reorder method position
Add foreach method to Array object in case browser is not support it