20141205 :: SPLIT & MODIFY MAIN :: JAVA, JS