[js] A hack to replace the sourcenames of all improperly named photos