Moving JS out pstat.html.

Signed-off-by: Braiam Peguero <braiamp@gmail.com>