Merged javascript edits from Vivek and updated ability to change color of prompt