Minor code update

- removed unused exists variable
- removed some logic that is not used (always true)
- now includes Parse Javascript SDK