fixed decimals
cleaned up JavaScript, removed outdated files