some javascript refactoring. fixing bug where tile sizing wasn't working in case where you played an audio tile before expanding it.