Making JSX optional

This checks for the existence of a JSX file before trying to move it. I am not using a JSX file for my extension and didn't want to keep a blank file just for the purpose of preventing an error.