Card titles can be changed. Cleaned up JS.