Get String After Index Javascript Code Compiler