Default [Q] Updater Script for removing bloatware & deodexing

Good Evening, I am a Nexus 4 user running 4.4.3 (KTU84L). I am trying to edit updater scripts to remove unnecessary apps and deodexing stock rom.
my souce are from :
- [Script] Delete unwanted apps

- Deodex System

The OP of "Delete unwanted apps" gave me a script for old nexus 4 to begin with. but what confusing me is that the ext4 code are different :
- Delete unwanted apps (for nexus 5) and deodex (for nexus 4):
#mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
- The old nexus 4 script :
#mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
When I read the deodex script, it supposed to delete odex file from system. but back when I deodexing 4.4..2 rom, it didn't delete the odex from system.

Which one is the correct code? I've been trying searching the forums and googling it, but haven't find the answers.

Thanks for the upcoming answers and help. Forgive me for my bad english.
Blame me not for making mistakes, for I merely just a human being.