Parse url Param source : http://stackoverflow.com/a/3855394