replace-recursive utility functions

Added simple utility functions for replacing something on a javascript
object or array
deleted unnecessary gitignore