From Kjm to marthahalli distance is hardly 4 km and its on ORR. IC will reach KJM by 8pm and public transport will be available till 11pm. So no worries you can book the ticket without hesitation. Bus number is 500 series 500D, 500B, 500A, 500K .......