My JavaScript Substring Example 1