Fixed ID check for media integration, Added newest JS file