JS - If Element Class has Specific Property