Here is an approach using str.slice(0, -n).
Where n is the number of characters you want to truncate.
var str = 1437203995000;
str = str.toString();
console.log("Original data: ",str);
str = str.slice(0, -3);
str = parseInt(str);
console.log("After truncate: ",str);